import React from 'react';

const GenerationRules = () => {
  return (
    <div className="generation-rules-page">
      <h2>文章生成规则</h2>
      
      <div className="rules-form">
        <div className="form-group">
          <label>文章风格</label>
          <select>
            <option value="informative">信息型</option>
            <option value="storytelling">故事型</option>
            <option value="persuasive">说服型</option>
            <option value="instructional">教程型</option>
          </select>
        </div>
        
        <div className="form-group">
          <label>文章长度</label>
          <select>
            <option value="short">短文(500字以内)</option>
            <option value="medium">中等(500-1500字)</option>
            <option value="long">长文(1500-3000字)</option>
            <option value="very-long">超长(3000字以上)</option>
          </select>
        </div>
        
        <div className="form-group">
          <label>关键词密度</label>
          <select>
            <option value="low">低(1%以下)</option>
            <option value="medium">中(1%-2%)</option>
            <option value="high">高(2%-3%)</option>
          </select>
        </div>
        
        <div className="form-group">
          <label>SEO优化程度</label>
          <select>
            <option value="basic">基础优化</option>
            <option value="standard">标准优化</option>
            <option value="advanced">高级优化</option>
          </select>
        </div>
        
        <div className="form-group">
          <label>自动生成图片</label>
          <div className="toggle-switch">
            <input type="checkbox" id="auto-image" />
            <label htmlFor="auto-image"></label>
          </div>
        </div>
        
        <div className="form-actions">
          <button className="btn-primary">保存设置</button>
          <button className="btn-outline">恢复默认</button>
        </div>
      </div>
    </div>
  );
};

export default GenerationRules; 